const CountHook = {
    state: {
        count: 1,
    },
    mutations: {
        increase(state) {
            state.count++
        }
    },
    actions: {
    },
    getters: {
        myCount(state) {
            return `当前的计数为:${state.count}`
        }
    },
}

export default CountHook